All Questions
14 questions
3votes
1answer
96views
Quiz to help practice mental arithmetic
I made a tool that would help in practicing and increasing the speed of Mental Arithmetic, below is the code that I wrote in java. Please suggest if there are any improvements that I can make or any ...
3votes
4answers
2kviews
Math Quiz program - programming excercise number 5 chapter 6 from "Art and Science of Java"
I have written the following program: Math Quiz. It is a programming exercise number 5 chapter 6 from the book "Art and Science of Java". The program seems to be working. However, I would be ...
1vote
1answer
617views
Multithreaded arithmetic quiz with 20-second time limit
I learned something about threads and I tried to use them in an programming exercise. The user of the program has to solve as many exercises as he can within twenty seconds. After that time the ...
1vote
1answer
139views
Restoring the instance state of an SQLite quiz app in Android
The following class is the activity of a little SQLite quiz app, which takes care of showing the actual quiz. Other than that the app only has a starting screen. I want to save the instance state and ...
4votes
3answers
19kviews
Millionaire quiz game in Java
I'm a beginner and have programmed a Java quiz game. However, it is currently way too long and there is probably a more efficient way. ...
3votes
1answer
162views
Math workout program
This is a program where you are asked what operation you would like (addition, subtraction etc), what range of numbers you'd like, and then it creates an exercise then it asks you for the answer. ...
6votes
2answers
229views
Textual mathematician game
In this game you are a mathematician that has to solve arithmetical problems to be successful. This game includes a save-function. If you want to start from beginning again, you can just delete the ...
5votes
1answer
5kviews
Math game with 10 addition questions
I'm pretty new to Java and I made a quick and simple math equation game. Feel free to give me tips on the way I write code and how I can make it smaller, more efficient, or better-looking! ...
0votes
1answer
654views
Quiz project with XML and Java
I'm learning to code Android apps and have recently finished a quiz app. I would like some feedback about best practices and possible ways to improve performance, as I'm also new to Java. ...
2votes
3answers
860views
Storing quiz questions in SQLite
I am creating my first android app. It is going to be a quiz. There are 40 different question categories and each category has its own database table. I am writing all questions into a sqlite database ...
18votes
6answers
6kviews
Capitals and countries game
This is my simple game that gives you a country and has you enter the corresponding capital. What do you think? (Before running it you need to do score.txt.) ...
3votes
2answers
2kviews
Java Console Quiz
I started learning Java 2 weeks ago, so I don't know that much. I recently made a working console quiz and I'm wondering if there is a simpler way to do it. ...
10votes
2answers
3kviews
Classes for Questions and Answers
I made a simple Question "system": Answer Stores an answer (string) and a boolean value to check if the answer is correct or not. ...
7votes
4answers
56kviews
Issuing multiple choice tests
I'm working on code for an assignment and I was hoping you all could point me in the right direction. Basically I had to write a program that will issue out a multiple choice test. I have 4 options, ...